Note: This statement is only used in load test scripts. See Load Testing for more information.
Returns the browser user agent. The agent is set by WebSetUserAgent statements in the script or settings used when running the script. See Running load tests and Running load tests from a command prompt.
Syntax
WebGetUserAgent()
Return value
| Value | Description |
|---|---|
| Value | Browser user agent. |
Example
useragent = WebGetUserAgent()